package org.stars.dao.sqlmapper;

import java.util.Map;

import org.stars.util.reflect.BeanUtil;
import org.stars.util.reflect.Getter;

public class ParameterUtils {
	
	public Object getValue(Parameter param, Object dto)
	{
		Map<String, Getter> dtoGetterMap = BeanUtil.getGetters(dto.getClass());
		switch(param.getType())
		{
		case TYPE_ATTRIBUTE:
			break;
		case TYPE_CONFIG_ATTRIBUTE:
			break;
		case TYPE_USER_ATTRIBUTE:
			break;
		}
		
		return null;
	}

	public Object getValue(Parameter param, Object dto, Map<String, Getter> dtoGetterMap)
	{
		switch(param.getType())
		{
		case TYPE_ATTRIBUTE:
			break;
		case TYPE_CONFIG_ATTRIBUTE:
			break;
		case TYPE_USER_ATTRIBUTE:
			break;
		}
		
		return null;
	}
}
